<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>文章列表 - bjyadmin</title>
    <link rel="stylesheet" href="__ADMIN_STATICS__/bootstrap/dist/css/bootstrap.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/animate.css/animate.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/font-awesome/css/font-awesome.min.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/simple-line-icons/css/simple-line-icons.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/bootstrap-editable/css/bootstrap-editable.min.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/app/css/font.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/app/css/app.css" type="text/css" />
</head>
<body>
<div class="wrapper-md">
   <div class="panel panel-default">
    <div class="panel-heading">
        <a href="{:U('Admin/Index/welcome')}"><i class="fa fa-home"></i>&nbsp;首页&nbsp;</a>&gt;&nbsp;&nbsp;留言列表
        <span class="pull-right">
            <button type="button" class="btn btn-danger btn-sm menu-add" onclick="javascript:if(confirm('确定删除选中项？'))batchDelete()">删除选中</button>
        </span>
    </div>
    <div class="table-responsive">
        <table class="table table-bordered table-striped table-hover table-condensed b-t b-light">
            <thead>
                <tr>
                    <th width="100">姓名</th>
                    <th width="100">电话</th>
                    <th>留言内容</th>
                    <th width=120>操作</th>
<!--                     <th width="10">
                        <label class="i-checks">
                            <input type="checkbox" onclick="$('input[name*=\'delids\']').prop('checked', this.checked);">
                            <i></i>
                        </label>
                    </th> -->
                </tr>
            </thead>
            <tbody>
                <volist name="assign.data" id="v">
                    <tr>
                        <td>{$v['name']}</td>
                        <td>{$v['phone']}</td>
                        <td>{$v['content']}</td>
                        <td>
                            <a class="btn btn-danger btn-xs" href="javascript:if(confirm('确定删除？'))location='{:U('Admin/Message/delete',array('id'=>$v['id']))}'">删除</a>
                        </td>
            <!--             <td>
                            <label class="i-checks">
                                <input type="checkbox" name="delids" value="{$v['id']}">
                                <i></i>
                            </label>
                        </td> -->
                    </tr>
                </volist>
            </tbody>
        </table>
    </div>
    <footer class="panel-footer">
        <div class="row text-center">
        {$assign.page}
        </div>
    </footer>
  </div>
</div>
<script src="__ADMIN_STATICS__/jquery/jquery.min.js"></script>
<script src="__ADMIN_STATICS__/bootstrap/dist/js/bootstrap.js"></script>
</body>
</html>
